package utils;

import activity.OfertasActivity;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;

public class OfertaListenner implements OnClickListener{
	
	String codigoOferta;
	Activity act;	
	
	public OfertaListenner(String codigoOferta, Activity act) {
		super();
		this.codigoOferta = codigoOferta;
		this.act = act;
		
		//armegando
		OfertasActivity.codOferta = codigoOferta;
	}

	public void onClick(View v) {
		ViewScreen.escolhaCartaoScreen(act, codigoOferta);
		
	}

}
